INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include)
LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/src)

ADD_EXECUTABLE(test_timer test_timer.cpp)
TARGET_LINK_LIBRARIES(test_timer lnutility gtest pthread)

ADD_EXECUTABLE(test_malloc_basic test_malloc_basic.cpp)
TARGET_LINK_LIBRARIES(test_malloc_basic lnutility gtest pthread)

ADD_EXECUTABLE(test_malloc_thread_cache test_malloc_thread_cache.cpp)
TARGET_LINK_LIBRARIES(test_malloc_thread_cache lnutility gtest pthread)

ADD_EXECUTABLE(test_malloc_mult_producer_consumer test_malloc_mult_producer_consumer.cpp)
TARGET_LINK_LIBRARIES(test_malloc_mult_producer_consumer lnutility gtest pthread)

ADD_EXECUTABLE(test_malloc_single_producer_consumer test_malloc_single_producer_consumer.cpp)
TARGET_LINK_LIBRARIES(test_malloc_single_producer_consumer lnutility gtest pthread) 

ADD_EXECUTABLE(test_malloc_pipe_queen_worker test_malloc_pipe_queen_worker.cpp)
TARGET_LINK_LIBRARIES(test_malloc_pipe_queen_worker  lnutility gtest pthread) 

ADD_EXECUTABLE(test_malloc_cond_queen_worker test_malloc_cond_queen_worker.cpp)
TARGET_LINK_LIBRARIES(test_malloc_cond_queen_worker  lnutility gtest pthread) 

ADD_EXECUTABLE(test_malloc_stack_queen_worker test_malloc_stack_queen_worker.cpp)
TARGET_LINK_LIBRARIES(test_malloc_stack_queen_worker  lnutility gtest pthread) 


ADD_EXECUTABLE(test_malloc_fifo_queen_worker test_malloc_fifo_queen_worker.cpp)
TARGET_LINK_LIBRARIES(test_malloc_fifo_queen_worker  lnutility gtest pthread) 

